package com.yh.patterns.factory.factory_method.factory_method_Car;

/**
 * @Auther:云尚学Java
 */
public class Customer {
    public static void main(String[] args) {
        CarFactory factory=new WuLingFactory();
        CarFactory factory1=new TeslaFactory();
        factory.createCar();
        factory1.createCar();
    }
}
